Skip to content

UofT-DSI | Python - Assignment 1#1

Open
hayun120 wants to merge 2 commits into
mainfrom
assignment-1
Open

UofT-DSI | Python - Assignment 1#1
hayun120 wants to merge 2 commits into
mainfrom
assignment-1

Conversation

@hayun120

Copy link
Copy Markdown
Owner

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

Completed assignment 1. Added code to create an anagram checker.
Since the initial push, I added some comments to explain my thought process.

What did you learn from the changes you have made?

Python language is quite logical! Creating the anagram checker as a function was easier than I thought once you're able to code your thought process with the appropriate syntax.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

No, this one was pretty straight forward.

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

The challenge was to first go through all the different operators, functions, and methods we learned and decipher which would make most sense for determining whether the words contain the same letters.

How were these changes tested?

Attempted different operators, functions, and methods.

A reference to a related issue in your repository (if applicable)

Checklist

  • I can confirm that my changes are working as intended

@juliagallucci juliagallucci left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good! One note for improvement would be to simplify your conditional logic in part 1. Since is_case_sensitive is already a Boolean, you do not need to explicitly return True or False!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants